import { userRequest } from '@/utils/HttpRequest';

export async function findByBanksPageList() {
  //SwaggerResources

  return userRequest.getList<API.BaseArrayDataResult<API.Banks>>(
    'bank/findBanksList',
  );
}

export async function editBanks(params: API.Banks) {
  return userRequest.post<any>('bank/editBank', params);
}
